package com.ruoyi.eam.mapper;

import java.util.List;
import com.ruoyi.eam.doman.EamSupplier;

/**
 * 资产供应商Mapper接口
 * 
 * @author xl
 * @date 2024-07-03
 */
public interface EamSupplierMapper 
{
    /**
     * 查询资产供应商
     * 
     * @param supplierId 资产供应商主键
     * @return 资产供应商
     */
    public EamSupplier selectEamSupplierBySupplierId(Integer supplierId);

    /**
     * 查询资产供应商列表
     * 
     * @param eamSupplier 资产供应商
     * @return 资产供应商集合
     */
    public List<EamSupplier> selectEamSupplierList(EamSupplier eamSupplier);

    /**
     * 新增资产供应商
     * 
     * @param eamSupplier 资产供应商
     * @return 结果
     */
    public int insertEamSupplier(EamSupplier eamSupplier);

    /**
     * 修改资产供应商
     * 
     * @param eamSupplier 资产供应商
     * @return 结果
     */
    public int updateEamSupplier(EamSupplier eamSupplier);

    public int updateStatus(EamSupplier eamSupplier);

    /**
     * 删除资产供应商
     * 
     * @param supplierId 资产供应商主键
     * @return 结果
     */
    public int deleteEamSupplierBySupplierId(Integer supplierId);

    /**
     * 批量删除资产供应商
     * 
     * @param supplierIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEamSupplierBySupplierIds(Integer[] supplierIds);
}
